package com.zhou.blog.service;

import com.zhou.blog.dao.pojo.SysUser;
import com.zhou.blog.dao.pojo.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhou.blog.vo.Result;
import com.zhou.blog.vo.UserVo;
import com.zhou.blog.vo.params.LoginParams;

/**
* @author 学习人
* @description 针对表【ms_sys_user】的数据库操作Service
* @createDate 2022-04-17 14:21:17
*/
public interface SysUserService {
    SysUser findUserById(Long id);

    SysUser findUser(String account, String password);

    Result findUserByToken(String token);

    int addUser(LoginParams loginParams);

    SysUser findUserByAccount(String account);

    void save(SysUser sysUser);

    UserVo findUserVoById(Long authorId);
}
